EmailLog\Core\UI\Setting\CoreSetting S

Total Complexity 46
Dependencies 1
Dependents 1
Total lines 493
Lines of code 276
Logical lines of code 136
Comment lines 152
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
trigger_threshold_met_notification_email()
A
45 8 40
sanitize_db_size_notification()
A
53 8 22
render_db_size_notification_settings()
S
44 4 46
has_array_contains_required_keys()
S
63 5 10
restrict_array_to_db_size_notification_setting_keys()
S
60 3 13
render_allowed_user_roles_settings()
S
52 2 27
get_user_roles()
S
65 3 10
initialize()
S
53 1 24
render_remove_on_uninstall_settings()
S
57 1 19
render_hide_dashboard_widget_settings()
S
57 1 18
verify_email_log_threshold()
S
70 2 6
sanitize_allowed_user_roles()
S
71 2 6
render_log_threshold_met_notice()
S
59 1 14
load()
S
66 1 7
allowed_user_roles_changed()
S
72 1 5
allowed_user_roles_added()
S
80 1 3
sanitize_remove_on_uninstall()
S
80 1 3
register_threshold_met_admin_notice()
S
79 1 3